﻿using System;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Test test = new Test();

            Console.WriteLine("输入你的用户名");

            test.Name = Console.ReadLine();

            Console.WriteLine("输入你的用户密码");

            test.Pw = Console.ReadLine();

            if (test.Name!="" && test.Pw!="")
            {
                Console.WriteLine("恭喜你成功注册！！");
            }
            else
            {
                Console.WriteLine("很遗憾你注册失败！！");
            }
          
        }
    }
}
